package com.capinfo.accumulation.service.accounting.mybits.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.capinfo.accumulation.dao.KjkmqcszDao;
import com.capinfo.accumulation.model.accounting.Kmszjbsj;
import com.capinfo.accumulation.model.accounting.mybist.KMSZJBSJ;
import com.capinfo.accumulation.parameter.accounting.DataGrid;
import com.capinfo.accumulation.service.accounting.mybits.KjkmqcszServiceI;
@Service("kjkmqcszService")
public class KjkmqcszServiceImpl implements  KjkmqcszServiceI{

	@Autowired
	KjkmqcszDao  kjkmqcszDao;
	
	@Override
	public int deleteByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(Kmszjbsj record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Kmszjbsj selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return this.kjkmqcszDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Kmszjbsj record) {
		// TODO Auto-generated method stub
		return this.kjkmqcszDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public DataGrid findbyByGrid(Map map) {
		// TODO Auto-generated method stub
		DataGrid dataGrid = new DataGrid();
		map.put("dataGrid", dataGrid);
		List<Kmszjbsj> retList = this.kjkmqcszDao.findbyByGrid(map);
		dataGrid.setRows(retList);
		return dataGrid;
	}

	@Override
	public List<Kmszjbsj> selectBySfmj(){
		// TODO Auto-generated method stub
		return this.kjkmqcszDao.selectBySfmj();
	}

	@Override
	public List<Kmszjbsj> selectByTiaojian() {
		// TODO Auto-generated method stub
		return this.kjkmqcszDao.selectByTiaojian();
	}
	
}
